<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaPifatuanProductDetailListTradeAddressCode extends SDKDomain {

       	
    private $children;
    
        /**
    * @return 
    */
        public function getChildren() {
        return $this->children;
    }
    
    /**
     * 设置     
     * @param array include @see String[] $children     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setChildren( $children) {
        $this->children = $children;
    }
    
        	
    private $code;
    
        /**
    * @return 
    */
        public function getCode() {
        return $this->code;
    }
    
    /**
     * 设置     
     * @param String $code     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCode( $code) {
        $this->code = $code;
    }
    
        	
    private $errorCode;
    
        /**
    * @return 
    */
        public function getErrorCode() {
        return $this->errorCode;
    }
    
    /**
     * 设置     
     * @param String $errorCode     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setErrorCode( $errorCode) {
        $this->errorCode = $errorCode;
    }
    
        	
    private $errorInfo;
    
        /**
    * @return 
    */
        public function getErrorInfo() {
        return $this->errorInfo;
    }
    
    /**
     * 设置     
     * @param String $errorInfo     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setErrorInfo( $errorInfo) {
        $this->errorInfo = $errorInfo;
    }
    
        	
    private $name;
    
        /**
    * @return 
    */
        public function getName() {
        return $this->name;
    }
    
    /**
     * 设置     
     * @param String $name     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setName( $name) {
        $this->name = $name;
    }
    
        	
    private $parentCode;
    
        /**
    * @return 
    */
        public function getParentCode() {
        return $this->parentCode;
    }
    
    /**
     * 设置     
     * @param String $parentCode     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setParentCode( $parentCode) {
        $this->parentCode = $parentCode;
    }
    
        	
    private $post;
    
        /**
    * @return 
    */
        public function getPost() {
        return $this->post;
    }
    
    /**
     * 设置     
     * @param String $post     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setPost( $post) {
        $this->post = $post;
    }
    
        	
    private $success;
    
        /**
    * @return 
    */
        public function getSuccess() {
        return $this->success;
    }
    
    /**
     * 设置     
     * @param Boolean $success     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSuccess( $success) {
        $this->success = $success;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "children", $this->stdResult )) {
    				$this->children = $this->stdResult->{"children"};
    			}
    			    		    				    			    			if (array_key_exists ( "code", $this->stdResult )) {
    				$this->code = $this->stdResult->{"code"};
    			}
    			    		    				    			    			if (array_key_exists ( "errorCode", $this->stdResult )) {
    				$this->errorCode = $this->stdResult->{"errorCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "errorInfo", $this->stdResult )) {
    				$this->errorInfo = $this->stdResult->{"errorInfo"};
    			}
    			    		    				    			    			if (array_key_exists ( "name", $this->stdResult )) {
    				$this->name = $this->stdResult->{"name"};
    			}
    			    		    				    			    			if (array_key_exists ( "parentCode", $this->stdResult )) {
    				$this->parentCode = $this->stdResult->{"parentCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "post", $this->stdResult )) {
    				$this->post = $this->stdResult->{"post"};
    			}
    			    		    				    			    			if (array_key_exists ( "success", $this->stdResult )) {
    				$this->success = $this->stdResult->{"success"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "children", $this->arrayResult )) {
    			$this->children = $arrayResult['children'];
    			}
    		    	    			    		    			if (array_key_exists ( "code", $this->arrayResult )) {
    			$this->code = $arrayResult['code'];
    			}
    		    	    			    		    			if (array_key_exists ( "errorCode", $this->arrayResult )) {
    			$this->errorCode = $arrayResult['errorCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "errorInfo", $this->arrayResult )) {
    			$this->errorInfo = $arrayResult['errorInfo'];
    			}
    		    	    			    		    			if (array_key_exists ( "name", $this->arrayResult )) {
    			$this->name = $arrayResult['name'];
    			}
    		    	    			    		    			if (array_key_exists ( "parentCode", $this->arrayResult )) {
    			$this->parentCode = $arrayResult['parentCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "post", $this->arrayResult )) {
    			$this->post = $arrayResult['post'];
    			}
    		    	    			    		    			if (array_key_exists ( "success", $this->arrayResult )) {
    			$this->success = $arrayResult['success'];
    			}
    		    	    		}
 
   
}
?>